package cn.xopencode.recordservice.rpc.robotroom;

import cn.xopencode.common.framework.vo.CommonResult;
import cn.xopencode.common.framework.vo.PageResult;
import cn.xopencode.recordservice.rpc.robotroom.dto.RobotRoomRecordCreateDTO;
import cn.xopencode.recordservice.rpc.robotroom.dto.RobotRoomRecordPageDTO;
import cn.xopencode.recordservice.rpc.robotroom.vo.RobotRoomRecordPageVO;
import cn.xopencode.recordservice.rpc.robotroom.vo.RobotRoomRecordUpdateVO;

/**
 * 智能机器人班机柜间巡检记录 RPC
 */
public interface RobotRoomRecordRpc {

    /**
     * 新增智能机器人班机柜间巡检记录
     *
     * @param createDTO
     * @return
     */
    CommonResult<Integer> createRobotRoomRecord(RobotRoomRecordCreateDTO createDTO);

    /**
     * 获得智能机器人班机柜间巡检记录分页
     *
     * @param pageDTO
     * @return
     */
    CommonResult<PageResult<RobotRoomRecordPageVO>> pageRobotRoomRecord(RobotRoomRecordPageDTO pageDTO);

    /**
     * 根据记录id获取智能机器人班机柜间巡检记录详情
     * @param id
     * @return
     */
    CommonResult<RobotRoomRecordUpdateVO> getRobotRoomRecordById(String id);
}
